package com.ruicar.afs.cloud.product.condition;

import com.ruicar.afs.cloud.product.entity.ProductPlan;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/5/11 20:54
 */
@Data
public class ProductPlanCondition extends ProductPlan {
    private int pageSize;
    private int pageNumber;
    private String atomShowType;
    private String createTimeStart;
    private String createTimeEnd;
    @ApiModelProperty(value = "模板名称")
    private String templateName;
    @ApiModelProperty(value = "利率类型")
    private String interestRateType;
    @ApiModelProperty(value = "还款方式")
    private String repaymentMethod;
    @ApiModelProperty(value = "贴息类别")
    private String discountCategory;
    @ApiModelProperty(value = "是否附加贷")
    private String additionalLoanOrNot;
    @ApiModelProperty(value = "车辆类型")
    private String carType;
    @ApiModelProperty(value = "车辆属性")
    private String carNature;
    @ApiModelProperty(value = "业务类型")
    private String businessType;
    private Long[] ids;
    private String notAtomShowType;

    @ApiModelProperty(value = "是否产品修改;0-否；1-是 ")
    @NotBlank(message = "是否产品修改不能为空")
    private String isProductModify;

    @ApiModelProperty(value = "是否必输;true;false ")
    @NotBlank(message = "是否必输")
    private Boolean isRequire;

    @ApiModelProperty("创建时间")
    private String[] createTimeQuery;

    @ApiModelProperty(value = "状态类型")
    private String statusType;

    @ApiModelProperty(value = "只读类型-产品修改使用")
    private Boolean readOnly;

}
